using System;

using System.Xml;

using System.Data;
using Aulac.Global.Enums; using Aulac.Global.Data; using Aulac.Global.Common; using Aulac.Global.Xml;
using System.Windows.Forms;
using Aulac.Client.Connect.Ems;
using System.Collections.Generic;
using Aulac.Client.Data.Helper;
using Aulac.Verb.Ems;
using Aulac.Rsc.Bss;

namespace Aulac.Client.Data.Bss.Helper.DataItems
{
	/// <summary>
	/// Summary description for DataCommon.
	/// </summary>
    public class DataObjHelper
	{
        public static void LoadObjectByTypesFromServer(Control ctr, ObjectTypes pObjTypeID, bool pIsActive)
        {
            XmlDataDocument xmlDoc = DataRequest.CreateXmlDocument(AulacEmsVerb.Items.ObjItems.GetListObjByType, AulacEmsVerb.Items.Noun.MdnItems.MdnItem);
            //XmlProcess.AddValueParamItem(xmlDoc, tagItems.Obj.ObjTypeID, pObjTypeID);
            //XmlProcess.AddValueParamItem(xmlDoc, tagItems.Common.IsActive, pIsActive);
            //DataHelper.GetDataFromServerToControl(ctr, xmlDoc);
        }
     

        public static void GetObjectItemFromServer(Control ctr, ObjectTypes pObjType, string pObjPrkID)
        {
            //XmlDataDocument xmlDoc = DataRequest.CreateXmlDocument(AulacEmsVerb.Items.ObjItems.GetListObjByType, AulacEmsVerb.Items.Noun.MdnItems.MdnItem);
            //XmlProcess.AddValueParamItem(xmlDoc, tagItems.Obj.ObjTypeID, pObjType);
            //XmlProcess.AddValueParamItem(xmlDoc, tagItems.Obj.ObjPrkID, pObjPrkID);
            //DataHelper.GetDataFromServerToControl(ctr, xmlDoc);
        }
    }
}
